/*
  AnalogKeypad.h - Library for reading analog keypad
 	 	   from LCD Keypad shield 
  Copyright (c) 2013 Lukas Vavra.  All right reserved.
*/

// ensure this library description is only included once
#ifndef AnalogKeypad_h
#define AnalogKeypad_h

// define key values
#define KEY_NONE 0
#define KEY_LEFT 1
#define KEY_RIGHT 2
#define KEY_UP 3
#define KEY_DOWN 4
#define KEY_SELECT 5

// library interface description
class AnalogKeypad
{
  // user-accessible "public" interface
  public:
    AnalogKeypad(int);
    int getKey(void);

  // library-accessible "private" interface
  private:
    int keypin;
};

#endif

